// import { useState } from "react";
import { useCookie } from "./useCookie";

export function UseDevToolValDemo() {
  const [cookie, updateCookie, deleteCookie] = useCookie("kel", "kel");
  return (
    <div>
      <h2>useDebugTool</h2>
      <button onClick={() => updateCookie("hhhhhh1")}>updateCookie</button>
      <button onClick={() => deleteCookie("kel")}>删除</button>
      <div>{cookie}</div>
    </div>
  );
}
